$ git clone https://github.com/<yourname>/teiid-embedded-examples.git $ cd teiid-embedded-examples $ mvn clean install -s settings.xml
Teiid Examples show how to integrate multiple, heterogenous data stores and enterprise services in a light-weight way.
install JDK 1.7 or higher
install maven 3 - http://maven.apache.org/download.html
Create a github account and fork Teiid Examples https://github.com/teiid/teiid-embedded-examples
Enter the following:
$ git clone https://github.com/<yourname>/teiid-embedded-examples.git $ cd teiid-embedded-examples $ mvn clean install -s settings.xml
Starting with Teiid 8.13 there is no longer an embedded distribution. You can still should run directly from maven or your IDE.
Unzip dist zip file, navigate into the `examples` folder, start example with start up scripts(run.sh/run.bat).
$ unzip teiid-version-embedded-dist.zip -d teiid-examples $ cd teiid-examples/examples
Import `teiid-examples` source code to a IDE(Eclipse), run each examples with corresponding Main methods.
Navigating to a examples execute mvn exec commands.
$ cd teiid-examples/embedded-portfolio $ mvn exec:java